@model iPick.Models.RegisterModel

@{
    ViewBag.Title = "Register";
 
    Layout = "~/Views/Shared/Mobile/_Layout.cshtml";
}
@Html.Partial("~/Views/Shared/Mobile/_HeaderBack.cshtml")

@*<hgroup class="title">
    <h1>@ViewBag.Title.</h1>
   
</hgroup>*@

<p class="message-info">
    Passwords are required to be a minimum of @Membership.MinRequiredPasswordLength characters in length.
</p>

<script src="~/Scripts/jquery.validate.min.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>

@using (Html.BeginForm("Register", "Account")) {
    @Html.ValidationSummary(true, "Account creation was unsuccessful. Please correct the errors and try again.",new{@class="ui-li-desc"})

    <fieldset id="formlegend">
		<legend></legend>
        <ol>
            <li>
                @Html.LabelFor(m => m.Email )
                @Html.TextBoxFor(m => m.Email)
                @Html.ValidationMessageFor(m => m.Email)
            </li>
            <li>
                @Html.LabelFor(m => m.Password)
                @Html.PasswordFor(m => m.Password)
                @Html.ValidationMessageFor(m => m.Password)
            </li>
             <li>
                @Html.LabelFor(m => m.ConfirmPassword)
                @Html.PasswordFor(m => m.ConfirmPassword)
                @Html.ValidationMessageFor(m => m.ConfirmPassword)
            </li>
           
        </ol>
        <input type="submit" data-mini="true" data-theme="d" value="Register" />
    </fieldset>
   
}
